php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#201889 - 12/27/03 07:30 AM [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Modification Name: Shoutbox

Author(s): LK

Description: This addon lets your users chat with each other, or leave a comment about your site, in a Shoutbox. It can be used in 3 different ways: iframe, ssi and javascript. Please refer to the script file for more information. NO FILES MODIFIED smile

Demo: http://www.ubbdev.com

Requirements: UBB.classic 6.7.0 Beta Release 1.0

Download Link: http://www.ubbdev.com/lk/download/ubb_shoutbox67.txt

Credits: JustDave, Allen, Chris, Dave2, Chuck

Instructions / Other Info: My second standalone "addon" smile
To use, simply rename to "ubb_shoutbox.cgi", upload to your UBB CGI folder and CHMOD correctly. Should immediately work smile

Number of Downloads: [img]http://www.ubbdev.com/lk/num.php?s=ubb_shoutbox67.txt[/img]
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201890 - 12/27/03 09:00 AM Re: [6.7] [beta] Shoutbox
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
thanks smile
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#201891 - 12/27/03 12:49 PM Re: [6.7] [beta] Shoutbox
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thanks LK thumbsup
_________________________
- Allen wavey
- What Drives You?

Top
#201892 - 01/16/04 05:41 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
LK, just one small fix. "Shoud added" smile

Top
#201893 - 01/20/04 07:58 AM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
LK, is there an option to prevent the members from adding notes - in case they got the URL of the shout box (mine is hidden in a private forum)?

by the way, any moderator can delete any note, so what shall we do to cut their hands from doing this wink ?

Top
#201894 - 01/20/04 08:44 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Do you mean you want to have a shoutbox for only some users? nice idea.. try to set "$viewunreg" to 0, then find:
Code:
sub StandardHTML {
add above: (untseted)
Code:
if ($user_number ne '00000001' && $user_number ne '00000002' && .....) { &StandardHTML("how did you get in... anyway get out!"); }
then replace 00000001 with the first member that you want to have access to the shoutbox's membernumber, replace 00000002 with the second number of the member you wish to have access to the shoutbox's membernumber, and instead of ...... add $user_number ne 'XXXXXXXX' for each other member (make sure they're separated by "&&" if you add more than one)
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201895 - 01/20/04 08:45 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Oh, and about the moderator thing, that's very easy: set "$allowmods" to "0" tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201896 - 01/20/04 09:06 AM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
aha, i`ll try them and let you know wink

Top
#201897 - 01/20/04 12:19 PM Re: [6.7] [beta] Shoutbox
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
LK, Don't you think it would be easier if there is an option to let only moderators?

rather than adding their numbers like what you just gave me?

i can't imagine my self changing the numbers all the time once i have a new moderator shocked

Top
#201898 - 02/07/04 06:43 PM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
A little problem here with a shout box.

I have been trying to put the shout box in the left sidebar of my forum. I created a table for the left sidebar about 8 cells tall. The top 4 cells have links to other pages on my site. The fifth cell has a content island displaying "newest members" in HTML-JS format. In the sixth cell I put the shout box. When I add the shout box (using the frame script) the content island for newest member disappears. If I remove the shout box the content island is back. I figure I have to be doing something wrong. What do you think?
_________________________
MK

Top
#201899 - 02/08/04 01:21 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Mrs.B, I missed your post...
Try:
Code:
my @profile = &OpenProfile($user_number);
if ($profile ne 'Moderator' && $profile ne 'Administrator') { &StandardHTML("get out"); }
Valkyrie.. I have no idea, are you sure you're also closing the iframe?
notice that it has to be
Code:
<iframe src="http://..."></iframe>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201900 - 02/08/04 11:49 AM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
Yes I am sure because the shout box appears but the content island does not. I have try it about 8 times on my board and test board.
_________________________
MK

Top
#201901 - 02/08/04 11:56 AM Re: [6.7] [beta] Shoutbox
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I need a URL to the page where you see this problem... If it's a registered users-only UBB I need a test login/password
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201902 - 02/08/04 12:35 PM Re: [6.7] [beta] Shoutbox
Valkyrie Offline
Newbie

Registered: 03/20/02
Posts: 18
Loc: Ohio, USA
I don't have it set up anymore.
_________________________
MK

Top
#201903 - 02/10/04 07:04 PM Re: [6.7] [beta] Shoutbox
tazzie Offline
Junior Member

Registered: 08/13/00
Posts: 21
Hello, I just recently upgraded to 6.6 and I just put on the shoutbox. Awesome!!! However, and sorry if I missed it somewhere else but everyone is shown as 'unregistered' I am logged in and it says that I'm logged in at the top. Has anyone ever heard of this before. Also, is there a faster auto refresh?

thank you

Top
#201904 - 03/23/04 09:33 PM Re: [6.7] [beta] Shoutbox
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
I kinda like/see the value of the shoutbox, but I'm not so sure I want to allow "unregistered" people to "shout." Is there an easy way to make it so that only registered users can play with it?

Thanks.
_________________________
Sue
adwoff.com

Top
#201905 - 03/23/04 09:44 PM Re: [6.7] [beta] Shoutbox
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Code:
$unregpost  = 1;   # allow unregistered users to post? (0 = no, 1 = yes)
$viewunreg  = 1;   # allow unregistered users to view? (0 = no, 1 = yes)
first is to shout, second it to even see the contents.

Top
#201906 - 03/23/04 10:54 PM Re: [6.7] [beta] Shoutbox
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Oops! I guess it'd help if I looked at the guts of the code, eh? Thanks, Ian. smile
_________________________
Sue
adwoff.com

Top
#201907 - 04/26/04 12:49 AM Re: [6.7] [beta] Shoutbox
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Instead of using vars_misc.cgi is there a way in which I can set the character string limit independently? Currently, while URLs are fine whenever someone posts long text without breaks inside the Shoutbox it causes a horizontal scrollbar (I'm using iframe).
smash
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#201908 - 05/24/04 07:32 AM Re: [6.7] [beta] Shoutbox
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
I think my Shoutbox may be broken... frown

When I submit a shout, it doesn't take me back to the main page. It just sits there as if I went to ubb_shoutbox.cgi by itself except its framed in the UBB style. I'm sure it's gotta be something easy for some, but for me, I'm clueless... Help please? smile

Also if anyone can direct me to where the width settings are as well as how I can set a number of messages before I get that fancy scroll bar like ubbdev has I would be most appreciative! Thanks in advance...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
Page 1 of 4 1 2 3 4 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks